Shadow Volumes Revisited
نویسندگان
چکیده
We present a method to utilize the Shadow Volume Algorithm by Crow and Williams without using a stencil buffer. We show that the shadow mask can be generated in the alpha channel or even in the screen buffer, if a hardware-accelerated stencil buffer is not available. In comparison to the original stencil buffer method, a small speed up can be achieved, if the shadow mask is computed in the alpha buffer. The method using the screen buffer requires the scene to be rendered a second time after the shadow mask has been computed. Both methods are less restrictive with respect to hardware requirements, since we use only standard color blending and depth testing. In general, rasterization bandwidth is the main bottle neck when generating the shadow mask at high screen resolutions. In order to overcome this bottle neck we propose a way to compute the shadow mask at a resolution that is lower than the resolution of the screen buffer. Then the shadow mask is applied to the scene by utilizing texture mapping. The latter method might be reasonable especially in interactive entertainment, where rendering speed is traded in favour of image quality.
منابع مشابه
Perspective Shadow Maps: Care and Feeding
Shadow generation has always been a big problem in real-time 3D graphics. Determining whether a point is in shadow is not a trivial operation for modern GPUs, particularly because GPUs work in terms of rasterizing polygons instead of ray tracing. Today's shadows should be completely dynamic. Almost every object in the scene should cast and receive shadows, there should be self-shadowing, and ev...
متن کاملShadow Volumes in Unreal Engine 4
The presented bachelor thesis project explores the possibilities of implementing custom lighting techniques in a state-of-the-art game engine. Specifically, Unreal Engine 4 is analyzed for the feasibility of implementing shadow volumes in a shader-centric plugin. The thesis discusses the theoretical and practical background of Unreal Engine and of shadow volumes, and provides detailed informati...
متن کاملShadow Mapping and Shadow Volumes: Recent Developments in Real-Time Shadow Rendering
In recent years , both Williams’ original Z-buffer shadow mapping algorithm [Williams 1978] and Crow’s shadow volumes [Crow 1977] have seen many variations, additions and enhancements, greatly increasing the visual quality and efficiency of renderings using these techniques. Additionally, the fast evolution of commodity graphics hardware allows for a nearly complete mapping of these algorithms ...
متن کاملDeveloping a Real-Time Renderer With Optimized Shadow Volumes
This paper presents a collection of ideas that are needed for developing an efficient, general purpose, real-time rendering engine with recent hardware’s possibilities taken into consideration. The principals of several visual effects seen in recent games (like tangent space Phong illumination, bump mapping, parallax mapping and shadow volumes) are discussed. A new way of generating shadow volu...
متن کاملPartitioned Shadow Volumes
Real-time shadows remain a challenging problem in computer graphics. In this context, shadow algorithms generally rely either on shadow mapping or shadow volumes. This paper rediscovers an old class of algorithms that build a binary space partition over the shadow volumes. For almost 20 years, such methods have received little attention as they have been considered lacking of both robustness an...
متن کامل